home *** CD-ROM | disk | FTP | other *** search
/ Clickx 47 / Clickx 47.iso / assets / software / sswitchxp152.exe / source / SpeedswitchXP / UserOptions.h < prev   
Encoding:
C/C++ Source or Header  |  2006-07-12  |  1.8 KB  |  70 lines

  1. /*
  2.    SpeedswitchXP V1.5
  3.    - Windows XP CPU Frequency Control for Notebooks -
  4.  
  5.    Copyright(c) 2002-2005 Christian Diefer
  6.  
  7.    This program is free software; you can redistribute it and/or modify
  8.    it under the terms of the GNU General Public License version 2 as 
  9.    published by the Free Software Foundation.
  10.    
  11.    This program is distributed in the hope that it will be useful,
  12.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.    GNU General Public License for more details.
  15.    
  16.    You should have received a copy of the GNU General Public License
  17.    along with this program; if not, write to the Free Software
  18.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20.  
  21. #pragma once
  22.  
  23.  
  24. // CUserOptions dialog
  25.  
  26. class CUserOptions : public CDialog
  27. {
  28.     DECLARE_DYNAMIC(CUserOptions)
  29.  
  30. public:
  31.     CUserOptions(CWnd* pParent = NULL);   // standard constructor
  32.     virtual ~CUserOptions();
  33.   void setVars();
  34.   void getVars();
  35.   BOOL power;
  36.  
  37. // Dialog Data
  38.     enum { IDD = IDD_USEROPT };
  39.  
  40. protected:
  41.     virtual void DoDataExchange( CDataExchange* pDX );    // DDX/DDV support
  42.     virtual BOOL OnInitDialog();
  43.   virtual BOOL PreTranslateMessage( MSG* pMsg );
  44.  
  45.     DECLARE_MESSAGE_MAP()
  46.  
  47. private:
  48.   void addToolTip( int no, int id, CString str );
  49.  
  50.   int m_iThrottlePolicyAC;
  51.   int m_iThrottlePolicyDC;
  52.   int m_iIdleTimeoutAC;
  53.   int m_iIdleTimeoutDC;
  54.   int m_iIdleSensAC;
  55.   int m_iIdleSensDC;
  56.   int m_iMaxSleepStateAC;
  57.   int m_iMaxSleepStateDC;
  58.   int m_iVideoTimeoutAC;
  59.   int m_iVideoTimeoutDC;
  60.   int m_iSpindownTimeoutAC;
  61.   int m_iSpindownTimeoutDC;
  62.   int m_bOptPowerAC;
  63.   int m_bOptPowerDC;
  64.   int m_iFanThrottleTolAC;
  65.   int m_iFanThrottleTolDC;
  66.   int m_iForcedThrottleAC;
  67.   int m_iForcedThrottleDC;
  68.   CToolTipCtrl m_tToolTip[18];
  69. };
  70.